body,a{
	color:white;
	background-color:black;
}

.cad{
	width:1245px;
	height:auto;
	padding:2px;
	border:1px green solid;
}
.cad #canvas{
	/*1245*0.618*/
	width:760px;
	height:600px;
	border:3px silver outset;
	position: relative;
	top:0;
	left:0;
	cursor:crosshair;
}
.cad #canvas canvas{
	width:100%;
	height:100%;
	position:absolute;
	top: 0;
}
.cad .control{
	float:right;
	width:470px;

	border: 2px #040477 outset;
	padding: 0;
	overflow:hidden;
}
.cad .control:hover{
	overflow:auto;
}
.cad .control div{
	margin-bottom: 8px;
	width:auto;
}
.cad .control div h4{
	padding:2px;
	background-color:rgba(4,4,119,0.7);
	color: #C63;
	margin-top:0;
	margin-bottom: 5px;
}
#crd{
	width: 9em;
	height: 1em;
	display:inline-block;
	overflow:visible;
}